Optimal. Leaf size=978 \[ -\frac {b f x}{2 a^2 d}-\frac {3 f x \text {ArcTan}\left (e^{c+d x}\right )}{a d}+\frac {2 b^4 (e+f x) \text {ArcTan}\left (e^{c+d x}\right )}{a \left (a^2+b^2\right )^2 d}+\frac {b^2 (e+f x) \text {ArcTan}\left (e^{c+d x}\right )}{a \left (a^2+b^2\right ) d}+\frac {3 f x \text {ArcTan}(\sinh (c+d x))}{2 a d}-\frac {3 (e+f x) \text {ArcTan}(\sinh (c+d x))}{2 a d}+\frac {2 b f x \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a^2 d}-\frac {f \tanh ^{-1}(\cosh (c+d x))}{a d^2}-\frac {3 (e+f x) \text {csch}(c+d x)}{2 a d}+\frac {b^5 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right )^2 d}+\frac {b^5 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right )^2 d}-\frac {b^5 (e+f x) \log \left (1+e^{2 (c+d x)}\right )}{a^2 \left (a^2+b^2\right )^2 d}+\frac {b f x \log (\tanh (c+d x))}{a^2 d}-\frac {b (e+f x) \log (\tanh (c+d x))}{a^2 d}+\frac {3 i f \text {PolyLog}\left (2,-i e^{c+d x}\right )}{2 a d^2}-\frac {i b^4 f \text {PolyLog}\left (2,-i e^{c+d x}\right )}{a \left (a^2+b^2\right )^2 d^2}-\frac {i b^2 f \text {PolyLog}\left (2,-i e^{c+d x}\right )}{2 a \left (a^2+b^2\right ) d^2}-\frac {3 i f \text {PolyLog}\left (2,i e^{c+d x}\right )}{2 a d^2}+\frac {i b^4 f \text {PolyLog}\left (2,i e^{c+d x}\right )}{a \left (a^2+b^2\right )^2 d^2}+\frac {i b^2 f \text {PolyLog}\left (2,i e^{c+d x}\right )}{2 a \left (a^2+b^2\right ) d^2}+\frac {b^5 f \text {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right )^2 d^2}+\frac {b^5 f \text {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right )^2 d^2}-\frac {b^5 f \text {PolyLog}\left (2,-e^{2 (c+d x)}\right )}{2 a^2 \left (a^2+b^2\right )^2 d^2}+\frac {b f \text {PolyLog}\left (2,-e^{2 c+2 d x}\right )}{2 a^2 d^2}-\frac {b f \text {PolyLog}\left (2,e^{2 c+2 d x}\right )}{2 a^2 d^2}-\frac {f \text {sech}(c+d x)}{2 a d^2}+\frac {b^2 f \text {sech}(c+d x)}{2 a \left (a^2+b^2\right ) d^2}+\frac {b^3 (e+f x) \text {sech}^2(c+d x)}{2 a^2 \left (a^2+b^2\right ) d}+\frac {(e+f x) \text {csch}(c+d x) \text {sech}^2(c+d x)}{2 a d}+\frac {b f \tanh (c+d x)}{2 a^2 d^2}-\frac {b^3 f \tanh (c+d x)}{2 a^2 \left (a^2+b^2\right ) d^2}+\frac {b^2 (e+f x) \text {sech}(c+d x) \tanh (c+d x)}{2 a \left (a^2+b^2\right ) d}+\frac {b (e+f x) \tanh ^2(c+d x)}{2 a^2 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 1.15, antiderivative size = 978, normalized size of antiderivative = 1.00, number of steps
used = 57, number of rules used = 27, integrand size = 34, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.794, Rules used = {5708, 2701,
294, 327, 213, 5570, 5311, 12, 4265, 2317, 2438, 3855, 2702, 2700, 14, 2628, 4267, 3554, 8, 5692,
5680, 2221, 6874, 3799, 4270, 5559, 3852} \begin {gather*} \frac {(e+f x) \log \left (\frac {e^{c+d x} b}{a-\sqrt {a^2+b^2}}+1\right ) b^5}{a^2 \left (a^2+b^2\right )^2 d}+\frac {(e+f x) \log \left (\frac {e^{c+d x} b}{a+\sqrt {a^2+b^2}}+1\right ) b^5}{a^2 \left (a^2+b^2\right )^2 d}-\frac {(e+f x) \log \left (1+e^{2 (c+d x)}\right ) b^5}{a^2 \left (a^2+b^2\right )^2 d}+\frac {f \text {Li}_2\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right ) b^5}{a^2 \left (a^2+b^2\right )^2 d^2}+\frac {f \text {Li}_2\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right ) b^5}{a^2 \left (a^2+b^2\right )^2 d^2}-\frac {f \text {Li}_2\left (-e^{2 (c+d x)}\right ) b^5}{2 a^2 \left (a^2+b^2\right )^2 d^2}+\frac {2 (e+f x) \text {ArcTan}\left (e^{c+d x}\right ) b^4}{a \left (a^2+b^2\right )^2 d}-\frac {i f \text {Li}_2\left (-i e^{c+d x}\right ) b^4}{a \left (a^2+b^2\right )^2 d^2}+\frac {i f \text {Li}_2\left (i e^{c+d x}\right ) b^4}{a \left (a^2+b^2\right )^2 d^2}+\frac {(e+f x) \text {sech}^2(c+d x) b^3}{2 a^2 \left (a^2+b^2\right ) d}-\frac {f \tanh (c+d x) b^3}{2 a^2 \left (a^2+b^2\right ) d^2}+\frac {(e+f x) \text {ArcTan}\left (e^{c+d x}\right ) b^2}{a \left (a^2+b^2\right ) d}-\frac {i f \text {Li}_2\left (-i e^{c+d x}\right ) b^2}{2 a \left (a^2+b^2\right ) d^2}+\frac {i f \text {Li}_2\left (i e^{c+d x}\right ) b^2}{2 a \left (a^2+b^2\right ) d^2}+\frac {f \text {sech}(c+d x) b^2}{2 a \left (a^2+b^2\right ) d^2}+\frac {(e+f x) \text {sech}(c+d x) \tanh (c+d x) b^2}{2 a \left (a^2+b^2\right ) d}+\frac {(e+f x) \tanh ^2(c+d x) b}{2 a^2 d}-\frac {f x b}{2 a^2 d}+\frac {2 f x \tanh ^{-1}\left (e^{2 c+2 d x}\right ) b}{a^2 d}+\frac {f x \log (\tanh (c+d x)) b}{a^2 d}-\frac {(e+f x) \log (\tanh (c+d x)) b}{a^2 d}+\frac {f \text {Li}_2\left (-e^{2 c+2 d x}\right ) b}{2 a^2 d^2}-\frac {f \text {Li}_2\left (e^{2 c+2 d x}\right ) b}{2 a^2 d^2}+\frac {f \tanh (c+d x) b}{2 a^2 d^2}+\frac {(e+f x) \text {csch}(c+d x) \text {sech}^2(c+d x)}{2 a d}-\frac {3 f x \text {ArcTan}\left (e^{c+d x}\right )}{a d}+\frac {3 f x \text {ArcTan}(\sinh (c+d x))}{2 a d}-\frac {3 (e+f x) \text {ArcTan}(\sinh (c+d x))}{2 a d}-\frac {f \tanh ^{-1}(\cosh (c+d x))}{a d^2}-\frac {3 (e+f x) \text {csch}(c+d x)}{2 a d}+\frac {3 i f \text {Li}_2\left (-i e^{c+d x}\right )}{2 a d^2}-\frac {3 i f \text {Li}_2\left (i e^{c+d x}\right )}{2 a d^2}-\frac {f \text {sech}(c+d x)}{2 a d^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 12
Rule 14
Rule 213
Rule 294
Rule 327
Rule 2221
Rule 2317
Rule 2438
Rule 2628
Rule 2700
Rule 2701
Rule 2702
Rule 3554
Rule 3799
Rule 3852
Rule 3855
Rule 4265
Rule 4267
Rule 4270
Rule 5311
Rule 5559
Rule 5570
Rule 5680
Rule 5692
Rule 5708
Rule 6874
Rubi steps
\begin {align*} \int \frac {(e+f x) \text {csch}^2(c+d x) \text {sech}^3(c+d x)}{a+b \sinh (c+d x)} \, dx &=\frac {\int (e+f x) \text {csch}^2(c+d x) \text {sech}^3(c+d x) \, dx}{a}-\frac {b \int \frac {(e+f x) \text {csch}(c+d x) \text {sech}^3(c+d x)}{a+b \sinh (c+d x)} \, dx}{a}\\ &=-\frac {3 (e+f x) \tan ^{-1}(\sinh (c+d x))}{2 a d}-\frac {3 (e+f x) \text {csch}(c+d x)}{2 a d}+\frac {(e+f x) \text {csch}(c+d x) \text {sech}^2(c+d x)}{2 a d}-\frac {b \int (e+f x) \text {csch}(c+d x) \text {sech}^3(c+d x) \, dx}{a^2}+\frac {b^2 \int \frac {(e+f x) \text {sech}^3(c+d x)}{a+b \sinh (c+d x)} \, dx}{a^2}-\frac {f \int \left (-\frac {3 \tan ^{-1}(\sinh (c+d x))}{2 d}-\frac {3 \text {csch}(c+d x)}{2 d}+\frac {\text {csch}(c+d x) \text {sech}^2(c+d x)}{2 d}\right ) \, dx}{a}\\ &=-\frac {3 (e+f x) \tan ^{-1}(\sinh (c+d x))}{2 a d}-\frac {3 (e+f x) \text {csch}(c+d x)}{2 a d}-\frac {b (e+f x) \log (\tanh (c+d x))}{a^2 d}+\frac {(e+f x) \text {csch}(c+d x) \text {sech}^2(c+d x)}{2 a d}+\frac {b (e+f x) \tanh ^2(c+d x)}{2 a^2 d}+\frac {b^2 \int (e+f x) \text {sech}^3(c+d x) (a-b \sinh (c+d x)) \, dx}{a^2 \left (a^2+b^2\right )}+\frac {b^4 \int \frac {(e+f x) \text {sech}(c+d x)}{a+b \sinh (c+d x)} \, dx}{a^2 \left (a^2+b^2\right )}+\frac {(b f) \int \left (\frac {\log (\tanh (c+d x))}{d}-\frac {\tanh ^2(c+d x)}{2 d}\right ) \, dx}{a^2}-\frac {f \int \text {csch}(c+d x) \text {sech}^2(c+d x) \, dx}{2 a d}+\frac {(3 f) \int \tan ^{-1}(\sinh (c+d x)) \, dx}{2 a d}+\frac {(3 f) \int \text {csch}(c+d x) \, dx}{2 a d}\\ &=\frac {3 f x \tan ^{-1}(\sinh (c+d x))}{2 a d}-\frac {3 (e+f x) \tan ^{-1}(\sinh (c+d x))}{2 a d}-\frac {3 f \tanh ^{-1}(\cosh (c+d x))}{2 a d^2}-\frac {3 (e+f x) \text {csch}(c+d x)}{2 a d}-\frac {b (e+f x) \log (\tanh (c+d x))}{a^2 d}+\frac {(e+f x) \text {csch}(c+d x) \text {sech}^2(c+d x)}{2 a d}+\frac {b (e+f x) \tanh ^2(c+d x)}{2 a^2 d}+\frac {b^4 \int (e+f x) \text {sech}(c+d x) (a-b \sinh (c+d x)) \, dx}{a^2 \left (a^2+b^2\right )^2}+\frac {b^6 \int \frac {(e+f x) \cosh (c+d x)}{a+b \sinh (c+d x)} \, dx}{a^2 \left (a^2+b^2\right )^2}+\frac {b^2 \int \left (a (e+f x) \text {sech}^3(c+d x)-b (e+f x) \text {sech}^2(c+d x) \tanh (c+d x)\right ) \, dx}{a^2 \left (a^2+b^2\right )}-\frac {f \text {Subst}\left (\int \frac {x^2}{-1+x^2} \, dx,x,\text {sech}(c+d x)\right )}{2 a d^2}-\frac {(3 f) \int d x \text {sech}(c+d x) \, dx}{2 a d}-\frac {(b f) \int \tanh ^2(c+d x) \, dx}{2 a^2 d}+\frac {(b f) \int \log (\tanh (c+d x)) \, dx}{a^2 d}\\ &=-\frac {b^5 (e+f x)^2}{2 a^2 \left (a^2+b^2\right )^2 f}+\frac {3 f x \tan ^{-1}(\sinh (c+d x))}{2 a d}-\frac {3 (e+f x) \tan ^{-1}(\sinh (c+d x))}{2 a d}-\frac {3 f \tanh ^{-1}(\cosh (c+d x))}{2 a d^2}-\frac {3 (e+f x) \text {csch}(c+d x)}{2 a d}+\frac {b f x \log (\tanh (c+d x))}{a^2 d}-\frac {b (e+f x) \log (\tanh (c+d x))}{a^2 d}-\frac {f \text {sech}(c+d x)}{2 a d^2}+\frac {(e+f x) \text {csch}(c+d x) \text {sech}^2(c+d x)}{2 a d}+\frac {b f \tanh (c+d x)}{2 a^2 d^2}+\frac {b (e+f x) \tanh ^2(c+d x)}{2 a^2 d}+\frac {b^4 \int (a (e+f x) \text {sech}(c+d x)-b (e+f x) \tanh (c+d x)) \, dx}{a^2 \left (a^2+b^2\right )^2}+\frac {b^6 \int \frac {e^{c+d x} (e+f x)}{a-\sqrt {a^2+b^2}+b e^{c+d x}} \, dx}{a^2 \left (a^2+b^2\right )^2}+\frac {b^6 \int \frac {e^{c+d x} (e+f x)}{a+\sqrt {a^2+b^2}+b e^{c+d x}} \, dx}{a^2 \left (a^2+b^2\right )^2}+\frac {b^2 \int (e+f x) \text {sech}^3(c+d x) \, dx}{a \left (a^2+b^2\right )}-\frac {b^3 \int (e+f x) \text {sech}^2(c+d x) \tanh (c+d x) \, dx}{a^2 \left (a^2+b^2\right )}-\frac {(3 f) \int x \text {sech}(c+d x) \, dx}{2 a}-\frac {f \text {Subst}\left (\int \frac {1}{-1+x^2} \, dx,x,\text {sech}(c+d x)\right )}{2 a d^2}-\frac {(b f) \int 1 \, dx}{2 a^2 d}-\frac {(b f) \int 2 d x \text {csch}(2 c+2 d x) \, dx}{a^2 d}\\ &=-\frac {b f x}{2 a^2 d}-\frac {b^5 (e+f x)^2}{2 a^2 \left (a^2+b^2\right )^2 f}-\frac {3 f x \tan ^{-1}\left (e^{c+d x}\right )}{a d}+\frac {3 f x \tan ^{-1}(\sinh (c+d x))}{2 a d}-\frac {3 (e+f x) \tan ^{-1}(\sinh (c+d x))}{2 a d}-\frac {f \tanh ^{-1}(\cosh (c+d x))}{a d^2}-\frac {3 (e+f x) \text {csch}(c+d x)}{2 a d}+\frac {b^5 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right )^2 d}+\frac {b^5 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right )^2 d}+\frac {b f x \log (\tanh (c+d x))}{a^2 d}-\frac {b (e+f x) \log (\tanh (c+d x))}{a^2 d}-\frac {f \text {sech}(c+d x)}{2 a d^2}+\frac {b^2 f \text {sech}(c+d x)}{2 a \left (a^2+b^2\right ) d^2}+\frac {b^3 (e+f x) \text {sech}^2(c+d x)}{2 a^2 \left (a^2+b^2\right ) d}+\frac {(e+f x) \text {csch}(c+d x) \text {sech}^2(c+d x)}{2 a d}+\frac {b f \tanh (c+d x)}{2 a^2 d^2}+\frac {b^2 (e+f x) \text {sech}(c+d x) \tanh (c+d x)}{2 a \left (a^2+b^2\right ) d}+\frac {b (e+f x) \tanh ^2(c+d x)}{2 a^2 d}+\frac {b^4 \int (e+f x) \text {sech}(c+d x) \, dx}{a \left (a^2+b^2\right )^2}-\frac {b^5 \int (e+f x) \tanh (c+d x) \, dx}{a^2 \left (a^2+b^2\right )^2}+\frac {b^2 \int (e+f x) \text {sech}(c+d x) \, dx}{2 a \left (a^2+b^2\right )}-\frac {(2 b f) \int x \text {csch}(2 c+2 d x) \, dx}{a^2}+\frac {(3 i f) \int \log \left (1-i e^{c+d x}\right ) \, dx}{2 a d}-\frac {(3 i f) \int \log \left (1+i e^{c+d x}\right ) \, dx}{2 a d}-\frac {\left (b^5 f\right ) \int \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right ) \, dx}{a^2 \left (a^2+b^2\right )^2 d}-\frac {\left (b^5 f\right ) \int \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right ) \, dx}{a^2 \left (a^2+b^2\right )^2 d}-\frac {\left (b^3 f\right ) \int \text {sech}^2(c+d x) \, dx}{2 a^2 \left (a^2+b^2\right ) d}\\ &=-\frac {b f x}{2 a^2 d}-\frac {3 f x \tan ^{-1}\left (e^{c+d x}\right )}{a d}+\frac {2 b^4 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{a \left (a^2+b^2\right )^2 d}+\frac {b^2 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{a \left (a^2+b^2\right ) d}+\frac {3 f x \tan ^{-1}(\sinh (c+d x))}{2 a d}-\frac {3 (e+f x) \tan ^{-1}(\sinh (c+d x))}{2 a d}+\frac {2 b f x \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a^2 d}-\frac {f \tanh ^{-1}(\cosh (c+d x))}{a d^2}-\frac {3 (e+f x) \text {csch}(c+d x)}{2 a d}+\frac {b^5 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right )^2 d}+\frac {b^5 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right )^2 d}+\frac {b f x \log (\tanh (c+d x))}{a^2 d}-\frac {b (e+f x) \log (\tanh (c+d x))}{a^2 d}-\frac {f \text {sech}(c+d x)}{2 a d^2}+\frac {b^2 f \text {sech}(c+d x)}{2 a \left (a^2+b^2\right ) d^2}+\frac {b^3 (e+f x) \text {sech}^2(c+d x)}{2 a^2 \left (a^2+b^2\right ) d}+\frac {(e+f x) \text {csch}(c+d x) \text {sech}^2(c+d x)}{2 a d}+\frac {b f \tanh (c+d x)}{2 a^2 d^2}+\frac {b^2 (e+f x) \text {sech}(c+d x) \tanh (c+d x)}{2 a \left (a^2+b^2\right ) d}+\frac {b (e+f x) \tanh ^2(c+d x)}{2 a^2 d}-\frac {\left (2 b^5\right ) \int \frac {e^{2 (c+d x)} (e+f x)}{1+e^{2 (c+d x)}} \, dx}{a^2 \left (a^2+b^2\right )^2}+\frac {(3 i f) \text {Subst}\left (\int \frac {\log (1-i x)}{x} \, dx,x,e^{c+d x}\right )}{2 a d^2}-\frac {(3 i f) \text {Subst}\left (\int \frac {\log (1+i x)}{x} \, dx,x,e^{c+d x}\right )}{2 a d^2}-\frac {\left (b^5 f\right ) \text {Subst}\left (\int \frac {\log \left (1+\frac {b x}{a-\sqrt {a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{a^2 \left (a^2+b^2\right )^2 d^2}-\frac {\left (b^5 f\right ) \text {Subst}\left (\int \frac {\log \left (1+\frac {b x}{a+\sqrt {a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{a^2 \left (a^2+b^2\right )^2 d^2}-\frac {\left (i b^3 f\right ) \text {Subst}(\int 1 \, dx,x,-i \tanh (c+d x))}{2 a^2 \left (a^2+b^2\right ) d^2}+\frac {(b f) \int \log \left (1-e^{2 c+2 d x}\right ) \, dx}{a^2 d}-\frac {(b f) \int \log \left (1+e^{2 c+2 d x}\right ) \, dx}{a^2 d}-\frac {\left (i b^4 f\right ) \int \log \left (1-i e^{c+d x}\right ) \, dx}{a \left (a^2+b^2\right )^2 d}+\frac {\left (i b^4 f\right ) \int \log \left (1+i e^{c+d x}\right ) \, dx}{a \left (a^2+b^2\right )^2 d}-\frac {\left (i b^2 f\right ) \int \log \left (1-i e^{c+d x}\right ) \, dx}{2 a \left (a^2+b^2\right ) d}+\frac {\left (i b^2 f\right ) \int \log \left (1+i e^{c+d x}\right ) \, dx}{2 a \left (a^2+b^2\right ) d}\\ &=-\frac {b f x}{2 a^2 d}-\frac {3 f x \tan ^{-1}\left (e^{c+d x}\right )}{a d}+\frac {2 b^4 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{a \left (a^2+b^2\right )^2 d}+\frac {b^2 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{a \left (a^2+b^2\right ) d}+\frac {3 f x \tan ^{-1}(\sinh (c+d x))}{2 a d}-\frac {3 (e+f x) \tan ^{-1}(\sinh (c+d x))}{2 a d}+\frac {2 b f x \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a^2 d}-\frac {f \tanh ^{-1}(\cosh (c+d x))}{a d^2}-\frac {3 (e+f x) \text {csch}(c+d x)}{2 a d}+\frac {b^5 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right )^2 d}+\frac {b^5 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right )^2 d}-\frac {b^5 (e+f x) \log \left (1+e^{2 (c+d x)}\right )}{a^2 \left (a^2+b^2\right )^2 d}+\frac {b f x \log (\tanh (c+d x))}{a^2 d}-\frac {b (e+f x) \log (\tanh (c+d x))}{a^2 d}+\frac {3 i f \text {Li}_2\left (-i e^{c+d x}\right )}{2 a d^2}-\frac {3 i f \text {Li}_2\left (i e^{c+d x}\right )}{2 a d^2}+\frac {b^5 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right )^2 d^2}+\frac {b^5 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right )^2 d^2}-\frac {f \text {sech}(c+d x)}{2 a d^2}+\frac {b^2 f \text {sech}(c+d x)}{2 a \left (a^2+b^2\right ) d^2}+\frac {b^3 (e+f x) \text {sech}^2(c+d x)}{2 a^2 \left (a^2+b^2\right ) d}+\frac {(e+f x) \text {csch}(c+d x) \text {sech}^2(c+d x)}{2 a d}+\frac {b f \tanh (c+d x)}{2 a^2 d^2}-\frac {b^3 f \tanh (c+d x)}{2 a^2 \left (a^2+b^2\right ) d^2}+\frac {b^2 (e+f x) \text {sech}(c+d x) \tanh (c+d x)}{2 a \left (a^2+b^2\right ) d}+\frac {b (e+f x) \tanh ^2(c+d x)}{2 a^2 d}+\frac {(b f) \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{2 c+2 d x}\right )}{2 a^2 d^2}-\frac {(b f) \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 c+2 d x}\right )}{2 a^2 d^2}-\frac {\left (i b^4 f\right ) \text {Subst}\left (\int \frac {\log (1-i x)}{x} \, dx,x,e^{c+d x}\right )}{a \left (a^2+b^2\right )^2 d^2}+\frac {\left (i b^4 f\right ) \text {Subst}\left (\int \frac {\log (1+i x)}{x} \, dx,x,e^{c+d x}\right )}{a \left (a^2+b^2\right )^2 d^2}-\frac {\left (i b^2 f\right ) \text {Subst}\left (\int \frac {\log (1-i x)}{x} \, dx,x,e^{c+d x}\right )}{2 a \left (a^2+b^2\right ) d^2}+\frac {\left (i b^2 f\right ) \text {Subst}\left (\int \frac {\log (1+i x)}{x} \, dx,x,e^{c+d x}\right )}{2 a \left (a^2+b^2\right ) d^2}+\frac {\left (b^5 f\right ) \int \log \left (1+e^{2 (c+d x)}\right ) \, dx}{a^2 \left (a^2+b^2\right )^2 d}\\ &=-\frac {b f x}{2 a^2 d}-\frac {3 f x \tan ^{-1}\left (e^{c+d x}\right )}{a d}+\frac {2 b^4 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{a \left (a^2+b^2\right )^2 d}+\frac {b^2 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{a \left (a^2+b^2\right ) d}+\frac {3 f x \tan ^{-1}(\sinh (c+d x))}{2 a d}-\frac {3 (e+f x) \tan ^{-1}(\sinh (c+d x))}{2 a d}+\frac {2 b f x \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a^2 d}-\frac {f \tanh ^{-1}(\cosh (c+d x))}{a d^2}-\frac {3 (e+f x) \text {csch}(c+d x)}{2 a d}+\frac {b^5 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right )^2 d}+\frac {b^5 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right )^2 d}-\frac {b^5 (e+f x) \log \left (1+e^{2 (c+d x)}\right )}{a^2 \left (a^2+b^2\right )^2 d}+\frac {b f x \log (\tanh (c+d x))}{a^2 d}-\frac {b (e+f x) \log (\tanh (c+d x))}{a^2 d}+\frac {3 i f \text {Li}_2\left (-i e^{c+d x}\right )}{2 a d^2}-\frac {i b^4 f \text {Li}_2\left (-i e^{c+d x}\right )}{a \left (a^2+b^2\right )^2 d^2}-\frac {i b^2 f \text {Li}_2\left (-i e^{c+d x}\right )}{2 a \left (a^2+b^2\right ) d^2}-\frac {3 i f \text {Li}_2\left (i e^{c+d x}\right )}{2 a d^2}+\frac {i b^4 f \text {Li}_2\left (i e^{c+d x}\right )}{a \left (a^2+b^2\right )^2 d^2}+\frac {i b^2 f \text {Li}_2\left (i e^{c+d x}\right )}{2 a \left (a^2+b^2\right ) d^2}+\frac {b^5 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right )^2 d^2}+\frac {b^5 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right )^2 d^2}+\frac {b f \text {Li}_2\left (-e^{2 c+2 d x}\right )}{2 a^2 d^2}-\frac {b f \text {Li}_2\left (e^{2 c+2 d x}\right )}{2 a^2 d^2}-\frac {f \text {sech}(c+d x)}{2 a d^2}+\frac {b^2 f \text {sech}(c+d x)}{2 a \left (a^2+b^2\right ) d^2}+\frac {b^3 (e+f x) \text {sech}^2(c+d x)}{2 a^2 \left (a^2+b^2\right ) d}+\frac {(e+f x) \text {csch}(c+d x) \text {sech}^2(c+d x)}{2 a d}+\frac {b f \tanh (c+d x)}{2 a^2 d^2}-\frac {b^3 f \tanh (c+d x)}{2 a^2 \left (a^2+b^2\right ) d^2}+\frac {b^2 (e+f x) \text {sech}(c+d x) \tanh (c+d x)}{2 a \left (a^2+b^2\right ) d}+\frac {b (e+f x) \tanh ^2(c+d x)}{2 a^2 d}+\frac {\left (b^5 f\right ) \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 (c+d x)}\right )}{2 a^2 \left (a^2+b^2\right )^2 d^2}\\ &=-\frac {b f x}{2 a^2 d}-\frac {3 f x \tan ^{-1}\left (e^{c+d x}\right )}{a d}+\frac {2 b^4 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{a \left (a^2+b^2\right )^2 d}+\frac {b^2 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{a \left (a^2+b^2\right ) d}+\frac {3 f x \tan ^{-1}(\sinh (c+d x))}{2 a d}-\frac {3 (e+f x) \tan ^{-1}(\sinh (c+d x))}{2 a d}+\frac {2 b f x \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a^2 d}-\frac {f \tanh ^{-1}(\cosh (c+d x))}{a d^2}-\frac {3 (e+f x) \text {csch}(c+d x)}{2 a d}+\frac {b^5 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right )^2 d}+\frac {b^5 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right )^2 d}-\frac {b^5 (e+f x) \log \left (1+e^{2 (c+d x)}\right )}{a^2 \left (a^2+b^2\right )^2 d}+\frac {b f x \log (\tanh (c+d x))}{a^2 d}-\frac {b (e+f x) \log (\tanh (c+d x))}{a^2 d}+\frac {3 i f \text {Li}_2\left (-i e^{c+d x}\right )}{2 a d^2}-\frac {i b^4 f \text {Li}_2\left (-i e^{c+d x}\right )}{a \left (a^2+b^2\right )^2 d^2}-\frac {i b^2 f \text {Li}_2\left (-i e^{c+d x}\right )}{2 a \left (a^2+b^2\right ) d^2}-\frac {3 i f \text {Li}_2\left (i e^{c+d x}\right )}{2 a d^2}+\frac {i b^4 f \text {Li}_2\left (i e^{c+d x}\right )}{a \left (a^2+b^2\right )^2 d^2}+\frac {i b^2 f \text {Li}_2\left (i e^{c+d x}\right )}{2 a \left (a^2+b^2\right ) d^2}+\frac {b^5 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right )^2 d^2}+\frac {b^5 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right )^2 d^2}-\frac {b^5 f \text {Li}_2\left (-e^{2 (c+d x)}\right )}{2 a^2 \left (a^2+b^2\right )^2 d^2}+\frac {b f \text {Li}_2\left (-e^{2 c+2 d x}\right )}{2 a^2 d^2}-\frac {b f \text {Li}_2\left (e^{2 c+2 d x}\right )}{2 a^2 d^2}-\frac {f \text {sech}(c+d x)}{2 a d^2}+\frac {b^2 f \text {sech}(c+d x)}{2 a \left (a^2+b^2\right ) d^2}+\frac {b^3 (e+f x) \text {sech}^2(c+d x)}{2 a^2 \left (a^2+b^2\right ) d}+\frac {(e+f x) \text {csch}(c+d x) \text {sech}^2(c+d x)}{2 a d}+\frac {b f \tanh (c+d x)}{2 a^2 d^2}-\frac {b^3 f \tanh (c+d x)}{2 a^2 \left (a^2+b^2\right ) d^2}+\frac {b^2 (e+f x) \text {sech}(c+d x) \tanh (c+d x)}{2 a \left (a^2+b^2\right ) d}+\frac {b (e+f x) \tanh ^2(c+d x)}{2 a^2 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 9.22, size = 1337, normalized size = 1.37 \begin {gather*} 8 \left (\frac {\left (-d e \cosh \left (\frac {1}{2} (c+d x)\right )+c f \cosh \left (\frac {1}{2} (c+d x)\right )-f (c+d x) \cosh \left (\frac {1}{2} (c+d x)\right )\right ) \text {csch}\left (\frac {1}{2} (c+d x)\right ) \text {csch}(c+d x) (a+b \sinh (c+d x))}{16 a d^2 (b+a \text {csch}(c+d x))}-\frac {b e \text {csch}(c+d x) \log (\sinh (c+d x)) (a+b \sinh (c+d x))}{8 a^2 d (b+a \text {csch}(c+d x))}+\frac {b c f \text {csch}(c+d x) \log (\sinh (c+d x)) (a+b \sinh (c+d x))}{8 a^2 d^2 (b+a \text {csch}(c+d x))}+\frac {f \text {csch}(c+d x) \log \left (\tanh \left (\frac {1}{2} (c+d x)\right )\right ) (a+b \sinh (c+d x))}{8 a d^2 (b+a \text {csch}(c+d x))}+\frac {i b f \text {csch}(c+d x) \left (i (c+d x) \log \left (1-e^{-2 (c+d x)}\right )-\frac {1}{2} i \left (-(c+d x)^2+\text {PolyLog}\left (2,e^{-2 (c+d x)}\right )\right )\right ) (a+b \sinh (c+d x))}{8 a^2 d^2 (b+a \text {csch}(c+d x))}+\frac {b^5 \text {csch}(c+d x) \left (-\frac {1}{2} f (c+d x)^2+f (c+d x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )+f (c+d x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )+d e \log (a+b \sinh (c+d x))-c f \log (a+b \sinh (c+d x))+f \text {PolyLog}\left (2,\frac {b e^{c+d x}}{-a+\sqrt {a^2+b^2}}\right )+f \text {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )\right ) (a+b \sinh (c+d x))}{8 a^2 \left (a^2+b^2\right )^2 d^2 (b+a \text {csch}(c+d x))}+\frac {\text {csch}(c+d x) \left (-2 a^2 b d e (c+d x)-4 b^3 d e (c+d x)+2 a^2 b c f (c+d x)+4 b^3 c f (c+d x)-a^2 b f (c+d x)^2-2 b^3 f (c+d x)^2-6 a^3 d e \text {ArcTan}\left (e^{c+d x}\right )-10 a b^2 d e \text {ArcTan}\left (e^{c+d x}\right )+6 a^3 c f \text {ArcTan}\left (e^{c+d x}\right )+10 a b^2 c f \text {ArcTan}\left (e^{c+d x}\right )-3 i a^3 f (c+d x) \log \left (1-i e^{c+d x}\right )-5 i a b^2 f (c+d x) \log \left (1-i e^{c+d x}\right )+3 i a^3 f (c+d x) \log \left (1+i e^{c+d x}\right )+5 i a b^2 f (c+d x) \log \left (1+i e^{c+d x}\right )+2 a^2 b d e \log \left (1+e^{2 (c+d x)}\right )+4 b^3 d e \log \left (1+e^{2 (c+d x)}\right )-2 a^2 b c f \log \left (1+e^{2 (c+d x)}\right )-4 b^3 c f \log \left (1+e^{2 (c+d x)}\right )+2 a^2 b f (c+d x) \log \left (1+e^{2 (c+d x)}\right )+4 b^3 f (c+d x) \log \left (1+e^{2 (c+d x)}\right )+i a \left (3 a^2+5 b^2\right ) f \text {PolyLog}\left (2,-i e^{c+d x}\right )-i a \left (3 a^2+5 b^2\right ) f \text {PolyLog}\left (2,i e^{c+d x}\right )+a^2 b f \text {PolyLog}\left (2,-e^{2 (c+d x)}\right )+2 b^3 f \text {PolyLog}\left (2,-e^{2 (c+d x)}\right )\right ) (a+b \sinh (c+d x))}{16 \left (a^2+b^2\right )^2 d^2 (b+a \text {csch}(c+d x))}+\frac {\text {csch}(c+d x) \text {sech}\left (\frac {1}{2} (c+d x)\right ) \left (d e \sinh \left (\frac {1}{2} (c+d x)\right )-c f \sinh \left (\frac {1}{2} (c+d x)\right )+f (c+d x) \sinh \left (\frac {1}{2} (c+d x)\right )\right ) (a+b \sinh (c+d x))}{16 a d^2 (b+a \text {csch}(c+d x))}+\frac {\text {csch}(c+d x) \text {sech}(c+d x) (a+b \sinh (c+d x)) (-a f+b f \sinh (c+d x))}{16 \left (a^2+b^2\right ) d^2 (b+a \text {csch}(c+d x))}+\frac {\text {csch}(c+d x) \text {sech}^2(c+d x) (a+b \sinh (c+d x)) (-b d e+b c f-b f (c+d x)-a d e \sinh (c+d x)+a c f \sinh (c+d x)-a f (c+d x) \sinh (c+d x))}{16 \left (a^2+b^2\right ) d^2 (b+a \text {csch}(c+d x))}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 3279 vs. \(2 (904 ) = 1808\).
time = 5.92, size = 3280, normalized size = 3.35
method | result | size |
risch | \(\text {Expression too large to display}\) | \(3280\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 17940 vs. \(2 (893) = 1786\).
time = 0.69, size = 17940, normalized size = 18.34 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {e+f\,x}{{\mathrm {cosh}\left (c+d\,x\right )}^3\,{\mathrm {sinh}\left (c+d\,x\right )}^2\,\left (a+b\,\mathrm {sinh}\left (c+d\,x\right )\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________